Fixes errors. Start multiple instances of program possible.