Merge pull request #1 from korgogro/master

res i globals
add verbose to cout in event handling
mini canvi comment .h