Fixed up the display of course information

* Added error-checking/displaying
* Fixed styles not working correctly
* Minor changes to UI