dynamic resizing: updates and code refact
Merge branch 'master' of https://github.com/eVoLuTiVeMEDIA/pencil into evo-master