api.createFrame: new implementation
eventRegistery: stub implementation
widgets.makeFrame: add RegisterEvent