PSM1\PSD1 Fix

Fixed parsing of PSM1 and PSD1 files. Added support for the diff window.