callback management, color mgment, fullscreen code