Added mine status and fixed minor bugs.