Regarding tf2 crashing when a spy uses their knife:
This has been disabled/fixed with the autoupdater, so restarting your server (you may need to restart it after the updater completes - check your logs) will fix it.
Otherwise open sourcemod/gamedata/sm-tf2.games.txt and delete the CalcCritKnife section and restart.