reintroduced playerimage, minor refactoring