fixing up some minor bugs and css tweaks.