Updated code.

Eliminated zero reading test from draw loop.