Fix production crash caused by a name longer than 30 chars

Maybe trailing blanks?
Minor fixup

Use O(1) comparision over O(n) membership test

Fix typo
Provide default api fields

fixes #1402 on github
Only return mobile-supported instances from API

fixes #1408 on github