css fixes and code cleanup