(TK only) Added modifications to prevent user from touching vars before are correctly initialized.