fixed bed kill command

added bed kill code to ui.cpp