Fixed some bugs with redirecting to stdout
Fixed some bugs concerning log-redirection
Modified the Terminate method of type Process
Fixed a bug in hasBoundPort()