Remove ui generating functions so .svg generation works with 4.6 compiler
fix a typo
space to tab