Bugfixes, replace random system because why not?

 * Replace random(3) with JKISS by David Jones.
 * Phaser fire fix under mandoc on OpenBSD.
 * isnan() instead of silly == check on a float.