Code formatting and indentation
Refactor text layer init
Frame consts