Fixed bug where PString returns an empty string when the string evaluations to false.
Reformatting.
Fixed critical bug where an image was rendered as wimp file making any MIME casts freak out.