Update main.cpp

still blocking but only reading ghost zones