add more filegroup captions
get terminal symbol width to center text all nicely
move render-related stuff to a separate function