Coding standards and code improvements

* WP coding standards say class names should be capitalized - applied here.
* Recent addition to the WP coding standards say every is statement should be have curly brackets - applied here.
* Added some missing spaces and aligned the doc descriptions
* I dislike hacking strings into little `'<'`, `'"'` pieces so I added a bit `sprintf` and `{$curly}` to make the code cleaner.
* **I did not test the fallback function** since I actually don't know how to trigger it correctly. `Missing argument 1 ...` it tells me. Please tell me how to trigger this.
* I escaped double quotes instead of single quotes because there might be some rare cases where some bad JS regexes fail on menu manipulation when single quotes would be used for menu attris or thinks like that. You may replace them with single quotes of you feel like it to make it even more cleaner.