Rewrite render snapshot code to be handled cyclically rather than immediately

Signed-off-by: Jack Huey kitskub@gmail.com