adding a command-line interface; fixes #1
fixed the cut-off screenshot issue; fixes #2