misc cleanup

also setup code for desktop monitor rendering