lua.go: pass and return lightuserdata/pointer
register gdk_event_copy and gdk_event_put
add core.macro module
minor cleanup