Major cleanup, add beginnings of chat panel.
Also includes HACKING file for info on how things are set up.