Fixed various list bugs and issues.
Fixed warning about returnValue being deprecated in Chrome.