possible code for making the app ding when a new message arrives, commendted out currently, should check if window is active first.