added option for pause and exit running game