Remove unnecessary Rect allocations in update loop.  Add option to toggle between floating and dockable windows.  Add Documentation file.  Add Javascript example.