Fix syntax errors. Remove destructive button stuff.