Update parsedUnseenExtractor.pl

minor bugs and restructuring