Hp is Max for first level, and then roll the rest. If you roll less than half on any of the dice (Ie. >4 on a d6 or >5 on a d8) then you can take half instead.
For example, a fighter would that rolled 4, 8, 9, 2, 3 for his hit die, would have a total of 45 (10+6+8+9+6+6).
I'd rather you didn't take flaws for feats. If it's a huge deal and absolutely necessary for your build I may consider it, but I'd prefer it if they were avoided entirely.
Also, Vanetias, I should have mentioned this earlier but... I've never seen that class before and have no idea what setting that is even from. The game will not likely include any kind of robots, mecha or space ships, and in all honesty I'm a bit perplexed when faced with that class at all. Not to mention, it seems to be a prestige class.