Localisation and disorder in the design of 2D photonic crystal devices