removes pygments as a dependancy, adds an event.bind decorator to make listening on events easier to do.
cleanup