Its a common problem for me, when you close the cortex and it stuck and block
you got to finish him with Control+Alt+Del, and then settings.ini gets half erased = corrupted,
re-install it and make a backup of the settings.ini(cntrol+C, cntrol+V) file,
then each time you just have to back up