Fix api.txt
Render highlight rect beneath objects and some cleanup
Switch Scripting::Update() and UI::Update()

Update Scripting after the user interface to correctly handle showing/hiding of windows.
Add a dialog window API
Use dialog API for conversations
Start documenting the Lua internal functions