improving driver transactions

prevent turtles from getting into an inconsistent state when the chunk
containing a moving turtle is unloaded
fix autostart bug with quary module

quary should only autostart if it is being initialized (i.e. nothing is
running)