fixed extra margin in header area, changed rules for theme so it shows on all relevant pages and fixed minor bugs in javascript code.