fix command line options (was: app quitting before thread done)
fix command line options (was: app quitting before thread done)

t-fritz/General,thenaughtychild/Trimage,thenaughtychild/Trimage,Kilian/Trimage,Kilian/Trimage