Working WordWindow and cleaned up imports