Moved handling stuff to new delegate() method, and added new binary handler mechanism.  More changes to th binary stuff on the way.