Add pausemask, remove useless files