Fixed false exiting and added a pause function ... key p to pause and key c to continue