Added loading indicators and error message boxes.

Closes #12.