single quotes
Make sure log exists in ports module
Whitespace
clean up net validator

A few issues, overloaded function, and bitwise whitespace
Misc lint fixes