Optimize/Cleanup

No idea what performance increase this will give, there will be one for creation though. There are also optimizations throughout that will give slight speed increases and protect against falsey compares.
All KnightOS projects ahere to our global style guide, which is documented here:

https://github.com/KnightOS/kernel/blob/master/CONTRIBUTING#L127

It's pretty easy to follow the existing practices, though.