when trying to load a plugin from any executable other than winlirc.exe, winlirc.exe is also loaded as if it war a dll, and main has not run yet. find a better solution for providing functionality from winlirc to plugins