Added extra text regarding random port selection

Added some basic extra text eplaining that a random port will be used if
the user doesn't select a specific port
Fix for null string issue reported by tikuf

Did some extra null checking to avoid marshalling a null string across
to native code.