Small fixes + interrupting mining feature