added basic support for resizing
made Kloggr.Events 'static'
cleaned up comments and some code too.