added TRAP receiver and save main window settings