Fixed several warnings and hardcoded strings