Finally got the actionbar to work wothout crashing the app and giving me millions of errrors.