I think this post should answer your questions on how the subcortical structures train up the cortex:
And this little bit …