Better import the exception class...
Merge branch 'maplayer_thumb_fix' into link_fix