Remove debug output
Return just string layer ids from the map selection dialog

 It looks like if any QObject based Python objects are returned by the dialog, even indirectly, the get somehow corrupted. So the dialog now only returns a string id of the layer that was selected and the pinch map gets the id a fetches all tne needed data by itself.