Added XRandR support to the hook_callback.  It is painfully slow and will need some adjustment to make it usable.