fixes to camera selection, added cmdline parameters, hack for renderglx deletion