DF# bugfixes + added quantity column in resource lookup