readded the repaint

readded the repaint so that is shows something at the start