fixed compiler warnings, all harmless except bugfix in alchemy.cpp