modified file frame_processing.cpp. added additional debug information.