you should copy the code of an existing feature more closely, you are not using the correct overload of SetupEditor, and you should make sure you call SetupEditor during OnInit or OnPreInit of the page
SiteUtils.SetupEditor(txtThumbnailUrl, false, this);
you can set other properties on the editor like toolbar in pageload but the editor must be initialized sooner.