Some styling changes and a tweak to stack_jobs algorithm