fix potential connection problems

- don't activate GUI elements if we don't know whether connecting to the
router was successful.
- add "MatlabNetComLogfile.txt" to ".gitignore" file.