Forms: control's value is NULL in constructor via setValue(NULL)
some slow ternary operators rewritten to 'if' statements