More error checking in kernel
Change [STATE] to [GET.STATE]
More db_man -> kernel renames