Fixed adding non functions and added option

Added an options to enable/disable automatically finding appropriate
methods for elements events from the instance.
Also fixed a moron mistake where i didnt check what the method was if it
appeared on the instance.
Replace %20 with whitespace