Added dbus functionality to query ConsoleKit
	(to be used with Shutdown/sleep/hibernate functionality)
Traced the issue with gnome-session restoring or not restoring the last
	session to patch in Ubuntu disabling the functionality
Fixed startup code to wait for autostarted windows to finish mapping
before switching to normal running mode.
Fixed hard to trigger race condition capable of locking Afterstep
into select() from modules before we are actually ready to send.