make portinfo more concise, remove duplicated avdump of input
structure the creation of the handles and setting the states a little more
forgot to git add part of the changes when doing previous commit

also remove unused pixel aspect setting - assume square pixels for now
Added flag to trigger verbose since logic is already there to use the FLAGS_VERBOSE value.
Merge remote-tracking branch 'cloph/master' into refactor
Last try and flushing the buffers.