Changed the way recipe editor internally functions to make code more streamlined, easy to follow and read.