Allowed for retrieving GPU objects.

Refactored Playback to allow for retrieving GPU objects of desired type. This makes it feasible to, for instance, list the textures up to a certain step. The object mapping was changed from (handle to object) to (type of object to object handle to object).