pp_resource: decrement ref counter under lock
np_functions: add mouse button modifiers
pp_resource_ref: print warning for non-existent resource
np_functions: do not update modifiers in press/release handler
use mutex in pp_instance_s to serialize X calls
ppb_flash_fullscreen: wait for remaining events before window destroy