Fixed code formatting, basic refactoring, replaced MACROs with a namespace. NOTE ofxNUI is now C++11 dependent