Add precompile headers to project.

Move export macro to Core's global.h. Add editor actions partly.