Renamed charLeft to maxChars
Added 404 pages