Better image renndering. Shouldn't go out of memory now.