Config options via getopt and window changes

- Support custom height and width
- Support changing output file