webx tweaks, cleaning up code