Misc. fixes and comments
Add profile config dialog layout