fixing "no select root" stuff
bugfix
style up
more formatting tweaks
more styling