..F....... [ZBXNEXT-1583] re-factored code so that templated screen is passed as an option in constructor;
..F....... [ZBXNEXT-1583] fixed typos in PHPDocs, comments and some code inconsistencies in variables.