I would suggest using the preinit event method. It will *always* be right and canonical too.. the desktop thing is likely a bad launcher not injecting a folder path correctly...
I would tend to agree with lex. You get given your zip distributable as a file in preinit event so if you want to open it up and deploy it somewhere and then do stuff, do it there. I don't want to add random paths. Mcpatcher is already annoying in that respect...
The problem is, that's far too late. Other mods may well have done something depending on your existence..
What is the problem you're trying to actually solve by doing this? Turning yourself off is unlikely to help...
OK, fixed essentials. Allocator works - you can install it which ever way you prefer but remember that the distributable is not immediately deployable in mods/
You appear not to be able to connect to the internet to download the required FML libraries.
get them here: files.minecraftforge.net/fmllibs/fml_libs.zip, and extract to the "libs" directory...
Fmlcommonhanlder.get environment side is a guess as to the side in an integrated server. Random files are no longer added to the class path. You can get stuff straight from your mod zip: I give you a file in pre unit that is your mod zip..
You appear to be registering for ModLoader.setInGameHook in the constructor of your mod somehow. I would suggest not doing that. Maybe use "load" instead.