removed closure, compiled version and developer mode, now developer mode is the only mode, closes #4