Massive front-end update. Got the UI all but working.

Got the front end pretty much working. I also discovered a couple bugs in the server. I'll add some bug reports to your repo.