fixed Permalink issue when maxExtent was missing from permalink
fix an issue with layer order list when ThemeSwitcher was triggered after the app was started from a permalink.
fixed issue with theme switcher and print layouts
Merge pull request #6 from qgis/master

bug fixes