common.lua, remove  unused functions, add textbox and imagebox.
Update headers.