Fixed some bugs! Added startup quit option