Moved JS Control.ui_id to Base.ui_id so it matches Ruby. And then Window extends Base.
Ensured all object can be garbage collected after #release! has been used. Fixes #1.
Corrected code style in ControlManager and Window.