locations in warnings and errors by file location
fix unused elements warnings
fix implicit initial transition from top