Refactor min/max in lang_array
Refactor pointerX/pointerY
Unify image loading in few places
draw -> render, for consistency
Separate IText behavior into a separate "module"
Refactor key movement handlers in IText
Move line shifting into a separate method
Move regex into instance property
Added object controls visibility (github issue #552).