Added the ability to delete stuff. Too tired to finish debugging the
other errors so have at it :)