Add debouncing and callback
Adding debouncing to code editor changes, will reducue the amount of errors in the console when the code is not executable.
will result in a bit of a delay for the user, but if we keep the debouncing time small it should just be an improvement
also add callback function that get's called when the user changed code, good for application tracking and potential other UI changes (a saved indicator, or similar)