isDevMode -> InDebugMode

+ Random indention changes.