Removed unneeded background function, fixed spelling and changed open/close params.