Fixed non-graphic object positioning + no more dumps
Moved auxiliary functions to aux.lua