Mostly refactoring.

- Move natively implemented interfaces to nativeinterface package.
- Add some documentation blocks to NativeActions interface.
- Close game when leaving game.