Compilation Errors in windows. Fixed.
added current messaging