Like Glenn mentioned...That OS check is going to exit for everything other than XP or Win 7. I tested it on my win 10 system, and it would indeed exit for me. This could be the issue. Just remove or comment that section and see if it fixes it.