fixed some window sizing issues