Handle vals. Shutdown properly. Etc.