Fixed some javascript stuff. Nothing big.
Added some more validation stuff. Bugs abound.