Fixed problem when looping over array that has prototypes. Tidied up how map centres / fits bounds of markers