fixed exception on server shutdown
added PluginFlag
added addCustomFlags method
Merge pull request #4 from mewin/test

Update to 1.5.3