Context switching implemented; testing and code cleanup soon