public void run() {
			while(isRefreshing) {
				if(!options.isRefresh()) {
					System.out.println("BREAK!");
					isRefreshing = false;
					refreshView();
				}
				fps = (new Date()).getTime() - lastRefresh.getTime();
				refreshView();
				lastRefresh = new Date();
				try {
					Thread.sleep(options.getRefreshDelay());
				} catch(InterruptedException ex) {
					ex.printStackTrace();
				}
			}
		}