Merge pull request #1 from sparr/master

flush output in case of exception
Update Plane.java
Update Plane.java
Update Controller.java
Update Plane.java
Update Controller.java