fixed bug with test task, improved play and debug tasks
supressed 'unchecked' warnings