Refactoring/fixing

Tidied up some code a bit
Converted incline exit's to exceptions so this can be used as library without
fear of taking down whichever app that uses it
Fixed ncurses
Merge branch 'master' of https://github.com/jrgp/linfo