Working on ValMask and fixing compile errors
Moving to the cmake build system
Working on removing qt dependencies