fixed and improved debug output format, added line and file information to...
fixed debug output not working with the intended options, fixed and improved debug output format, added line and file information to debug output,placed implementations of non template function into implementation file of mpmo