fix OS check in toxic
fix define checks
fix potential memory issue
Realloc apparently doesn't always behave like free() if size is zero.
Fixed segfault.
Merge with upstream
Merge pull request #497 from rose-m/master

Small OS check fix
fix tab bar bugs
fix tab bar bugs
Merge pull request #499 from JFreegman/master

fix toxic tab bar bugs
Merge remote-tracking branch 'irungentoo/master'