fixed some bugs with memory + added better input checking + fixed look and feel