Minimal rendering

Fixed bug: offset in the pixel array needs to be multiplied *4 (4 bytes
per pixel).
Render loop (incomplete)