positioning the toast
implement isChatWindowActive()

TODO: implement the chatWindowActivated and mainWindowActivated events.