Expanded custom flags

Flags persist after reload/restart even if the creating plugin in no
longer present