Repaired Exit function

And messing around a bit.
Removed Comment