Fixed sprite and window stuff

-Sprite shows on window now, problems with sprites memory still however.