GREATLY modified the code. Now I have to regenerate the exe