added main editor events, internal data sync with UI, and basic dynamic image loading (still not done)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>