Condensed code and made things cleaner.
Corrected background path.