added command history
Added support for new values in command arg
removed huge debugging function
cleanup for Lee
switched to new dispatch event
added source element to list