Update ProgrammerMode.java

This is suppose to help with error checking. I test, only a little though. Test before implementing.