improved focus logic when opening a new patch
streamlined API (moved vars/structs from glist to editor struct)
updated TODO
fixed gop getrect detection for objects that have been previously relocated to allow for consistent positioning