kvis opening is now handled by definitions.
Added support for percentile based buttons. Start of work on polling for windows before continuing X manipulation.