Use std::to_wstring rather than wxString::Format("%d", ...)

std::to_wstring is significantly faster and is a bit shorter.
Add box selection to the move mode of the vector clip tool

Closes #1404.
Fix crash when smoothing freehand curves