Problem uploading sketch to arduino mega 2560

The bootloader of some Mega's has a 'monitor' program that lets you read and write memory from the Serial Monitor. The monitor program is activated by sending '!!!'. Unfortunately that means that any sketch containing three or more consecutive '!' characters will fail to upload. :frowning: