Import original sources.
Add makefile.
Fix missing initialization of m_icon.

This worked only by luck on BeOS.