'exit' doesn't exit programme.. added a quick fix.

KIV