fixed refocus bug; implemented prepared statements

Prepared statements now allow the usage of any characters for task and list names, which is a great enhancement for every language which uses special chars.