Wrap pickle load in a try
Use unordered list for layout
Enable calling python from command line
Redirect to index if not AJAX