BugFix

Switch off hardware when closing program
Bug in Batchfile-option fixed