fixed improper variable usage

declared behavior_handler, but used 'behavior';
also some code reformatting.
some more code restructuring
fixed missing semicolon
added offsets support to sprites
WIP on sprite storage engine
built all tagging on message bus

also properly use message bus to detect deletions, other clean up. Now
fully functioning sprite store for all sprite querying needs.