more progress on automator

refactored code from https://github.com/Moussekateer/3D-Models-automaton
for vmt editing
resulting images have fuzziness on item edges, needs fixing