Tons of helper methods, fixed custom bar rendering.