corrected background color order. Cleaned up code. Inserted english comments.