Make app change directory when starting
Linux fixes