>> There was a 7-day civil war in Gaza, which Hamas technically started (if that matters to you), back in 2007;
No. Fatah started it. The US funded, armed and trained a Fatah faction to stage a coup against Hamas. The coup backfired and Hamas kicked Fatah out of Gaza.
To be perfectly clear: Fatah and Hamas are different, rival organisations. The 2007 Gaza War was started by Fatah, not Hamas.
Again: it's on wikipedia.
>> (one of the reasons Fatah and Hamas got into it was that Hamas replaced all of the PA's governing institutions --- the courts, the school systems, etc --- with Hamas-designed alternatives),
Yes, because they won the election. So they replaced the public officials with their own. Are you suggesting there is something sinister in that?
Also: we all have access to Wikipedia. You don't have to copy and paste whole articles here.