Fixed low-level event handling issues.
Added missing consts.
Removed some pointer offsets.

git-svn-id: http://maxmods.googlecode.com/svn/trunk@1593 b77917fb-863c-0410-9a43-030a88dac9d3
Removed more pointer offsets.
Fixed pango font desc issues.

git-svn-id: http://maxmods.googlecode.com/svn/trunk@1594 b77917fb-863c-0410-9a43-030a88dac9d3