backgrounds and some bug fixes