Rearranged debug output options, added file output.