fixed #369: wrong indent
better injected references for atoms;
spawn/3 and spawn_link/3 support