Moved camera and GL settings to central place. Added Duration and
DurationManager.