moved flags definition to main.h
Added two new flags (unimplemented)