Fixed startup bugs, browser startup