Bug fixes in blast and removed complicated regex scheme.