Refactored a Topic Title function and fixed few bugs for Quick Title