Fix float-equal warning
Refactor DebugMessageOutput