Changed the project to a static library. Small bug fixes.