Fixed a bunch of little things.  It basically works now.