Fix issues with getArea() failing on non-existent area and clearing view when removing a gadget. Add support for passing initialization data when calling loadGadget().