basic error checking
added project files
added syntax error checking and fixed undo bug