Massive upgrade to flaghandling
Stacking of flags and flag aliases now supported, Reread the manual
Updated options chapter because large changes