Minor refactoring and commenting of DrawView class