Added Window_OnPaint & Window_OnSize

Text is being repainted correctly