Removed bower components, fixed history saving (it is ready now).

Started work on history restoration, file open/save.