fix some bowling logic
some formatting and cleanup