Replace shared_ptr with stack objects
Replace shared_ptr with pointers to stack objects
Add whitespace
Improve code formatting
Destroy xdamage object in d'tor
Remove purge(): Kludge, made superfluous by notify(x_client *)
Free heap memory properly (hopefully)..
Remove accidentally commited dead code