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.