Several formatting and ease of use updates.

Add list of positions of gates and bombs to be used in switches toggle lists.
Collect gates, bombs, fields that are adjacent to each other.
Make single line formatting actually work with regexes.