Tidy occupantswin.c