plx file fixes, also added a reparse method to speed things up
var naming improved