Moved sense macros to gen.hpp and changed their format. Altered some error messages as well.