clean up. bug fix. highlighting now works properly. made ui capable of handling events from the server. need to make it actually do UI stuff for each event this way rather than having the client invoke it. #77 #73.