Build fixes, remove Qt dependency, keep zoom level on same size images