refactored color_defines; added progress output on client;