Persist column size with localStorage. Bug fixes #17, #18

1) Persist column size with localStorage.
2) Fix [length] array access (bug #17).
3) Check object and function existence before usage (bug #18)