Fixed some syntax errors, good to go for user window.