major operation tweaks

Uses a timer now to make it more "human" like. Cleaned up some code,
tested and fixed a few bugs. GPL'd the hell outta it because why not.