Escapes and transitions in overdamped systems on short times: General solution