Fix a crash when exception is throws in nested Format. Check automatically assigned argument index. Add double output method to BasicWriter.