fix misc bugs and migrated css from master to page specific stylesheets