implemented zooming, fixed some texture stuff