Major update! Refactored Behavior class and drawing code.