Minor fixes, added debug output and user warning outputs variae.