speed up startup, fix console problems