Improvements

Added functionality to the code editor widgets.