fixing detialView editing, minor ui polishing, introducing PDF-hack.

Fixes:
- updating detailView after editing

Note: historyAPI not yet fully functional.

Testing continues.