Main executable: removed dependencies on some of the Core plugin features (closes #508).

Windows and its importing/exporting of classes/functions… :(