in reply to 'use subs' causes method to vanish
use subs rewrites existing symbols. Place use subs before init_gui definition. There's no sense to use subs after function is declared.
Update: BTW, I don't think you should use subs at all in this application.
In Section
Seekers of Perl Wisdom