You could hook FM_Spawn so the plugin wouldn't use Ham, but then you would had to check classname.
Main idea of my post was to say that as you don't use find_ent_by_class anymore (i would have stuck with it), then you need to check if the ent is valid, just in case another plugin would have removed a button.