fixed window resizing, fixed errors in cbox reset methods