If you have a layer that contains a adjustment layer the PSDParser crashes with:
Error #2030: Unexpected file ending occured.
at flash.utils::ByteArray?/readShort()
at com.voidelement.images.psd.layer::LayerPixelData?()[:53]
at com.voidelement.images.psd.section::PSDLayerAndMask/parseLayerInfo()[:75]
at com.voidelement.images.psd.section::PSDLayerAndMask()[:48]
at com.voidelement.images.psd::PSDParser()[:57]
at at.leichtgewicht.libspark.psdParser::PSDInfoOutput/setInfo()[:94]
at flash.events::EventDispatcher?/dispatchEventFunction()
at flash.events::EventDispatcher?/dispatchEvent()
at at.leichtgewicht.ui.component.lgw::LGWFileChooser/handleFileComplete()[:81]