Fixed spacing.
Added ability to attach/detach console, changed console functions to static methods.