Update zimcheck.cpp

Bug Fixes, improvements.