Polish, starting OE

-- Closing any window will now exit the program
-- Started Optimal encoding stuff