Added localisation support and miscellaneous bug fizxes.