fixed local connection bugs
Merge branch 'working'
More verboseoutput