Remove dummy _ (gettext) function
Fix source file mode
Guard against bad openflow ports (failed or without port number)