Fixed errors in formatted printing functions
Created `kpanic` and `kerror1` functions