Fix mouse button events
Allow event if there is no event mask specified
Improved event writeBuffer
Expose events start at 0,0
Improved Event fromBuffer
Fixed wrong function call
Fixes for bitmap conversions
Refactored window parents
Added get/putResource to server and handling for thrown X Errors as a result of invalid types
Better handling of window destroys, disconnects and client kills
Missed old grabbed server usage
XServer can own windows, needs a sendEvent handler
Server now has freeResource that can throw
Server now has getAtom that can throw