While experimenting with sending virtual keystrokes, things got seriously hung up! I powered off, When the system restarted all window decoration was missing, and all fancy compiz graphics was missing.
metacity --replace. That brought back the window decoration, but still no compiz. I ran
compiz --replace, that brought back compiz functionality, but this time, no window decoration.
How can I get Compiz and Metacity back together again?