redraw less than 100/sec
exit on error