Fixed mysterious msvc LNK2005 error.

Also fixed title being displayed twice.

Signed-off-by: shennetsind <ind@henn.et>