Change variables to single var pattern. Fixed typos and moved to constant the title height.