Fix a number of bugs
Fix a number of bugs

ch1c4um/pfsense,ch1c4um/pfsense,dennypage/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,pfsense/pfsense,phil-davis/pfsense,ch1c4um/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,jxmx/pfsense,jxmx/pfsense,brunostein/pfsense,pfsense/pfsense,NewEraCracker/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,ch1c4um/pfsense,brunostein/pfsense,dennypage/pfsense,phil-davis/pfsense,brunostein/pfsense,ptorsten/pfsense,NOYB/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,pfsense/pfsense,jxmx/pfsense,ptorsten/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,phil-davis/pfsense