added support for an on_change handler; fixed minor bug in console warn
Merge pull request #1 from brettpaden/master

on_change handler