fixes to argument parsing to allow for alternate main scripts, plus shader reorganization.