restored lost changes

Martin, learn to merge conflicts
wheelemuator main loop was missing