clean up; code view re-done
clean up drag and drop support