Fix missing semicolons
Fix some minor issues.