This is the full source codes of the PoorMan server with the two bugs fixed.
HTML preview not available, since no preview renderer could handle it.Try downloading the file instead.