fixing latest issue in #2

also fixed text in batfile when it doesn't close automatically.