Unity Crash With New UI

Hi everyone, I am new to this, and was told to stop using the legacy GUI Buttons and use the new Canvas and UI system, so last night i went and replaced all my buttons with the new UI, i wrote my scripts and when i push play Unity crashes to desktop with a window asking me to DeBug Unity. any help would be great.

I am just trying to get a few basic buttons, NewGame, HighScore, Exit Game etc

this is the code i was trying to use

using UnityEngine;
using System.Collections;

public class SoloEndless : MonoBehaviour{
private bool soloEndless;
    void Start (){soloEndless = false;}

public void SoloEndlessStart(){
soloEndless = !soloEndless;}

void Update (){
Application.LoadLevel(1);}
}

this is placed on empty game object then linked to button.

Im not sure what do you call from your button but to have Application.LoadLevel in the Update routine like you did is sure to make some problems … Trying to load a new level every frame does not sound like a good idea.