First implementation of C++ -> JS comms.

LOOT version is set in C++, visible in the About dialog.