Doubletap fix, fullscreen/minimize feature, cppcheck fixes