Set custom new handler and throw standard exception.

This prevent handling out of memory exception internaly and allow us to
create minidump when it happens.

Revert "Properly catch a bad allocation exception."
commit 2a0d0c2d49032cad240147db0cb1f252358bc7b6.
Increase dragging threshold to react better for play/pause command.