Remove commented lines setting dimensions on PreviewModel
Split catching exceptions to multiple catches instead of using Java 7 specific multi-catch clause