YAY, it works the first time for me!

fixed diverse small bugs
added detection of source control port
works now with my Nexus 4 running Android 4.4.2