Catching occasional errors and logging them
adding deferred update to give time for rendering
* I don't know exactly why this is needed, but it fixes things nicely