Fixed bug with assertLocation. Got select by index working. Made output format easier to read with new lines / tabs.