fix #76, we now can use cmd+q to exit application