ref #12 simplify frame capture code
ref #12 add aspect ratio option
ref #12 encapsulate image export dialog handling