For the last question, please see the response here: Viewer GUI with virtual display - #5 by gstate
Take care, -Gav