Help in programming the Atmega1284 with maniacbug-mighty-1284p.

One thing of interest - for arraysize > 4000 or so, the sketch no longer works correctly,
ie Led 13 does not flash after uploading. At 4000 and below, Led 13 blinks ok.

I agree.