Fixed RenderWindow subroutine redefined errors, tidy'd.