pl_editor: add a PPI (pixel per inch) setup option for bitmaps.
All: fix bug making IsOK dialog always returns false, regardless the button clicked.