Fixed final errors with SLAME, note to self change compiler to clang so error messages are comprehensible...