Added option to center window on spawn.
cleaning up more component config code