Basic test code for mncl_draw_rect.

This also required changing the spec a bit due to how SDL_FillRect works.
Fix minor memory leak
Fix disastrous heap corruption bug