iOS: Fix issue #93 (crash for custom event methods with one argument); fix bug causing refresh timer to not be scheduled properly on connection errors; remove some cruft