warnings for repeated monitors and connections, added test file for error 37 and for warning 2 and 3