Bug fixes and Travis config

Signed-off-by: PulsarBlow <pulsarblow@gmail.com>