Fix warning messages display

move the warning message calculation from the ongui method to the actual node creation function.
No change in calculated nodes