beginning work on ncurses branch

cleaning up current codebase and refactoring so that it should be somewhat better to work with in the future
also minorly obfuscated the consumer_* tokens because you people are goddamn naggy.