Fixed various layout and style issues. (ie8 and firefox)