Initial camera/image functionality and some bugfixes