loader: refactorings

Less `window` and `smalltalk` global usage.
Using global `amber` as a communication channel for load/init.
Moved toggleAmberIDE into smalltalk and calling it.
Merge pull request #374 from herby/loader-cleanup

loader: refactorings