Added linin background and fixed up possible bug.