Removed warnings (mostly pointer stuff)