Removed omplapp and fixed compiler errors