Update tab registry lib and minor bug fix.