Minor improvements

Fix showTiming and slightly improve texture upload