Wokring on singletons, logging and error messages.
Added stuff for Curses.
Have a working alternative event loop for Curses::Toolkit.
Fixed some logic errors and documentation.