Revert unwanted changes

The DPI is intended to return the real value from the user's system. This may be different than values other tools may return, but returning exact values (and leaving room for developers to round or hard-code a different value) seems more flexible than returning incorrect values.

The "format" improvements have been merged with the official project, and are now available from haxelib