added more debug parameters to startup, misc changed files