Fix: Return values of actions should only be false or 1 on failure
Some actions returned false or 1 although they succeeded (for example `Create Group` would select the created group and return the selection size=1, or when setting a rendering option to false).
WebDialog subclass with message queue and ping back mechnism
better implementation of singleton class
unit tests
minor changes