Autosize support

Dear Boy

Thanks for the pointers, I am - sadly - not used to forking etc.

Please check if it works for you.

Kind Regards
Graham