fixed bugs
Added more code to the chrome app