added multiline support, as well as fixed up options page