Trying to get Window to work