fixes for handling events, canvas resize and progress on controls