Almost free? If I render the entire picture, even if it's only showing part of it, the rest of the image will be in the buffer xD But yeah, I was after some culling of the tiles. I think I pretty much figured it out, shortly after asking in here though.
Haven't had time to sit down and actually do it yet though. :/
So, I have it working now. 300+ fps, if I don't restrict it. But, I just played around a little, and made each tile have it's own small buffered image, and needless to say, that didn't work out for a map of 500x500 tiles. It ran out of heap memory.
So currently a tile only holds it's own position and color. (It probably doesn't even need to have it's own position though)
I'm rendering enough tiles to cover the screen plus 1 row on each side, just to make sure the screen always stays covered. Yay.
Nice inline editing btw. <3