Issue #30 and issue #31: now using density pixels & algorithm scale factors to have consistent graphic sizes regardless of device sizes and resolutions