Bug fixes

Updated CSS and fixed analytics code