fixes #352 Now the GUI provides information with MessageBox if the selected layer aren't queriable