Added self test mechanism.
Added show in editor to GUI elements.