add new rega algo
print stack trace when an error occurs
fix query import bug (refactoring FastaExporter caused problems since XStream uses reflection to instantiate classes)