Add -debugport to specify ip console to piaware.

Plus fix some formatting issues.