fixed an issue with booleans falling through in my switch statement ( omg tired programming ) and added support for doubles.