Added some extra variables for the kernel. Fixed not being able to use system variables. Fixes.