Fixed some minor bug fixes and added new dependencies.