Added constant for DPI used and a way to calculate point size from pixels for fonts.
Removed some left overs of experimental code.