Slight optimizations, Commented some code.