groundowrk for ship enditor mode.
clear out garbage