Check for illegal base64. Fixes #481
Slightly smarter handling of file browsing
Work-around for Jelly-bean bug
Better feedback when a book can't be opened.
Bounds checking. Fixes #482