Added timer speed setting and fixed a bunch of things