camera system, various bugfixes.