added 'G' to toggle grid lock