Screen states now supported. Added basic title screen + pause function.

Closes #3.
Removing extra whitespaces at the end of lines.