add stack usage check for debug build
look up config file in home directory
add stack usage profiling artifacts to clean target
only close initialized resources