Cleaned code up, started event editor.

Signed-off-by: interdpth <interdpth@gmail.com>