Fix some front end bugs and styling issues.