Added lots of testing and fixed some bugs like the use button happening too quickly.