Fixed change name and added Disconnect functionality

Works now
Merge pull request #10 from atheiman/disconnect

Fixed change name and added Disconnect functionality