Regarding the first control. Why do you need to do it with code? This can be easily achieved with Test Studio standalone version.
If you really want to achieve this in code here is a link
to our API. In order to assist you in details please give us a direct access to you application so we can help you with the code.
Regarding the other issues it's a good practice to split different issues in different tickets so we can keep better track and handle them more quickly.
Thank you for your understanding.