Repaired mem error, allegro library introduced, working, currently inactive