Added extra comments to node failure code. Re-ordered main run script so
all varaibles are decalred at the top of the code, then all code which
runs is set out below. Removed the hard coded colouring and sizes from
this code as well with a net set of variables. All variables are split
into relevant sections.