Some centering on edit screen

fixed bug where the edit window went offscreen