converted and binded trashyLock function.
fixed a bunch of bugs that were caused by the switch to angularjs
converted historyLock to angularjs function.
binded historyLock to its button.
updated version number.