Gives premature exit buttons. Fixes tile bug