Fixing some editor stuff.