Move bunch of handlers to nsbmagichandlers.cpp