More bugfixes (recognition of first lap, undefined config parameters) and update to Pebble SDK2 Beta 6