Clean up/javadoc/notification checks for focus of smallchat window