Fixed compile output, and crash when kernel fails to build (due to compile error)
Added IsFull() to arrays, made code more copy & pastable