Added caching of X11 NULL atom.
Fixed missing ICCCM protocol message checks.