Detect syntax errors, change layout, fix bugs