Adds another bug type, more robust bug registration, random element utility function, extra Dictionary function.