added window and utils stuff from TAC lifesupport