Background now works and closes and is responsive