common bugfixes

infinite mining device gathering
string table errors