Improved Error Algorithms; Added SVG area for the Piano Roll