Update and adapt to latest version of Freepano