Catch missing errors and replace deprecated VBox.