Various bugfixes + cosmetics + started farmfunction