added file transfer
Merge remote-tracking branch 'upstream/master'
fixed error messages in file transfer functions
fixed indentation issues
now sending file in other thread to prevent interface hanging
Merge pull request #20 from ctrl-shift/master

Added file transfer support