Little bugfixes. Refactored some of the code for the factory. Changed to non-minified version of Canvas for better understanding the library.