Fixed crash when exiting with no receive port selected
Added an option to not select a receive port