Fix some things...

- Add sendEvent to interface,
- Move page loading to viewWillAppear,
- Fix #if / #endif stuff