The biggest problem is the delay statements but i still need to be able to exit anywhere in the program.