Exit button and fixes #4.