Added .gitignore on .pyc files.
Added try except in the addstr function to prevent unhandled errors.
Changed views to use addstr of the View.