Change mem_size in zm_monitor.h from long to unsigned long