Do not treat functions as variables
Do not use msg_warning_text etc.
Correctly specify private variables as such
Separate space for user-defined layouts
Adjust coding style