Calculate desktop logicaldpi with GetDeviceCaps

Desktop Fix for Issue #53 
@dotMorten For Code Review