Renaming and refactoring. Modifying the log height calculation, added a displayHeight.