Fixed yet another bug. Should make the camera less laggyFixed a bug in picuture uploading code.