Fixed up psdcore a little bit