entities depend on world now for resolution offset calculation; code improvements