Expermental new API for easier function designation and calling
Fixed bug in new event code where you could accadently create a event with a 0 length name
sys.emit no longer requies the second argument to be a function