Console.warn included to log warnings and also display any warnings on GUI with div.warn