made change to whitespace function so it is no longer called recursively.  It is working now.  Added placeholder for characters that have not been dispatched yet.