Closes #1795, #1797, #1798 and #1799

Closes #1795, #1797, #1798 and #1799
This forces the port to 0 if we're not trying to port map, which gets flashlight to not port map.