Prettified a heap of error messages.
Cleaned up logging and error messages.
Added a TODO list.